using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Xml;
using System.Xml.Serialization;

namespace MyCollections.Model
{
    [Serializable]
    [XmlRoot(Namespace = null, ElementName = "Movie")]
    public class Movie: PropertyMovie
    {    
        private string title;
        private string year;
        private Image img;
        private string director;
        private string writer;
        private string[] actors;
        private string imdb_url;

        #region Get's and Set's
        public string Title 
        {
            get { return title;}
            set { this.title = value; }
        }

        public string Year
        {
            get { return year; }
            set { this.year = value; }
        }

        public Image Image
        {
            get { return img; }
            set { this.img = value; }
        }

        public string Director
        {
            get { return director; }
            set { this.director = value; }
        }

        public string Writer
        {
            get { return writer; }
            set { this.writer = value; }
        }

        public string ImdbURL
        {
            get { return imdb_url; }
            set { this.imdb_url = value; }
        }

        public string[] Actors
        {
            get { return actors; }
            set { this.actors = value; }
        }
        #endregion
    }
}
